package com.bincloud.vue.admin.web.dto.ums.user;

import com.bincloud.vue.admin.common.model.dto.request.BasePageReqDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @Description: 用户信息分页查询入参
 * @Author: bincloud, mvpzhou
 * @Date: Create By bincloud, mvpzhou on 2022/2/18
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "用户信息分页查询入参")
public class UmsUserPageReqDTO extends BasePageReqDTO {

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "性别(0 男 1 女)")
    private Integer gender;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "最后登录时间")
    private LocalDateTime lastLogin;

    @ApiModelProperty(value = "账号到期时间")
    private LocalDateTime accountExpire;

    @ApiModelProperty(value = "密码到期时间")
    private LocalDateTime credentialsExpire;

    @ApiModelProperty(value = "状态(0 待激活 1 启用 2 禁用 3 锁定)")
    private Integer state;

    @ApiModelProperty(value = "逻辑删除(0 未删除 1 已删除)")
    private Integer flag;


}
